﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kokomo.Mirror.CliMetadata.Signatures;

namespace Kokomo.Mirror.CliMetadata.Tables
{
	public class TypeSpecRow : IMetadataRow
	{
		[SignatureField(SignatureKind.TypeSpec)]
		public SignatureRef Signature { get; set; }

		public override string ToString(MetadataContainer container)
		{
			Signature sig = container.GetSignature(this.Signature);
			if (sig != null)
				return sig.ToString();
			else
				return null;
		}
	}
}
